function Points() {
    this.flatList = new Array();
    this.officeList = new Array();
}

function Flat() {
    this.id = 0;
    this.userid = 0;
    this.lat = 0.0;
    this.lng = 0.0;

    this.type = '';
    this.address = '';
    this.roomNumber = 0;
    this.square = 0;
    this.floor = 0;
    this.price = 0.0;
    this.currency = 'USD';
    this.comment = '';

    this.marker = null;
}

function Office() {
    this.id = 0;
    this.userid = 0;
    this.lat = 0.0;
    this.lng = 0.0;

    this.type = '';
    this.address = '';
    this.roomNumber = 0;
    this.square = 0;
    this.floor = 0;
    this.price = 0.0;
    this.currency = 'USD';
    this.comment = '';

    this.marker = null;
}
